cmake_minimum_required(VERSION 2.8.3)
project(bind_test)

# 用boost编程用它来寻找库
# find_package(Boost REQUIRED COMPONENTS system thread ) 
# .h文件放到/项目名称/include 里面
# .cpp文件放到/项目名称/src 里面
# include_directories(include)
# file(GLOB SRCS *.cpp *.c)
# add_library(${CMAKE_PROJECT_NAME} STATIC ${SRCS})

# set(libs ${Boost_LIBRARIES} boost_system rt)

## Find catkin and any catkin packages
find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs genmsg)


## Declare a catkin package
catkin_package()

## ���� talker and listener
include_directories(include ${catkin_INCLUDE_DIRS})

set(libs ${catkin_LIBRARIES})

add_executable(user
        src/user.cpp
        )
target_link_libraries(user ${libs})


add_executable(give
        src/give.cpp
        )
target_link_libraries(give ${libs})


